-- GENERATED SPELL FOR [Ashtongue Worker] --


function spell0_21455(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21455', 20000, 1)
end

function Sorts_21455(pUnit, Event)
local choix_sorts_21455 = math.random(0, 0)
if choix_sorts_21455 == 0 then
pUnit:RegisterEvent('spell0_21455', 1, 1)
end
end

function mob21455_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21455', math.random(1500, 3000), 1)
end

function mob21455_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21455_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21455_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21455, 1, 'mob21455_Action')
RegisterUnitEvent(21455, 2, 'mob21455_Leave')
RegisterUnitEvent(21455, 3, 'mob21455_Kill')
RegisterUnitEvent(21455, 4, 'mob21455_Die')
